﻿using Share;
using System;
using UnityEngine;

namespace Tower.Data
{
    [CreateAssetMenu(fileName = "UIConfig", menuName = "Scriptable Objects/GameConfig")]
    public class GameConfig : SingletonScriptableObject<GameConfig>
    {

        [Serializable]
        public class NameTipInfo
        {
            public int FontSize = 16;
            public Color FontColor = Color.white;
            public float OutLine = 0.5f;
            public Color OutLineColor = Color.black;
        }
        [Header("开启录屏模式")]
        public bool ForDouyin = false;
        public float GameTime = 3600;

        [Header("墙血")]
        public float WallHp = 10;
        [Header("速度")]
        public float MoveSpeed = 1;
        [Header("子弹速度")]
        public float BulletMoveSpeed = 1;
        [Header("子弹伤害")]
        public float BulletDamage = 100;

        [Header("建造时间")]
        public float BuildTime = 2;
        [Header("拿砖头时间")]
        public float GetTime = 2;



        [Header("点赞持续时间(秒)")]
        public float VoteDuration = 2f;
        [Header("点赞最大叠加次数")]
        public int VoteMaxLayer = 10;
        [Header("点赞速度加成")]
        public float VoteSpeedAddition = 0.1f;


        [Header("仙女棒召唤间隔(秒)")]
        public float FairyStaff = 0.2f;


        [Header("能量药丸升级")]
        public int AbilityPillLevel = 2;
        [Header("能量药丸 负载能力")]
        public int AbilityPillCapacity = 10;
        [Header("能量药丸 变身时间(秒)")]
        public int AbilityPillTime = 20;


        [Header("魔法镜升级")]
        public int MagicMirrorLevel = 3;
        [Header("魔法镜 攻击力")]
        public int MagicMirrorDamage = 10;
        [Header("魔法镜 变身时间")]
        public float MagicMirrorTime = 30;


        [Header("能量电池 眩晕时间(秒)")]
        public float BatteryTime = 10;
        [Header("能量电池 +建设度")]
        public float BatteryScore = 100;


        [Header("爱的爆炸 +建设度")]
        public float LoveExplosionScore = 100;


        [Header("神秘空头 +建设度")]
        public int SecretAirdropScore = 300;
        [Header("神秘空投 变身")]
        public int SecretAirdropLevel = 4;
        [Header("神秘空投 变身时间(秒)")]
        public float SecretAirdropTime = 20;
        [Header("神秘空投 负载能力")]
        public int SecretAirdropCapacity = 20;
        [Header("神秘空投 攻击力加成")]
        public int SecretAirdropDamage = 20;


        [Header("(AppID)")]
        public string AppID = "";


    }
}